package com.ustb.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author pyn
 * @date 2022-05-17 11:26:55
 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS", timezone = "GMT+8")
@Accessors(chain = true)
@Data
@TableName("tb_answer_blank")
public class AnswerBlankEntity implements Serializable {
	private static final long serialVersionUID = 1L;


	@TableId
	private String id;
	// 填写用户id 匿名为null
	private Integer userId;
	// 表单id
	private String formId;
	// 问题id
	private String questionId;
	// 答案内容
	private String answer;
	//填写时间
	private Date createTime;
	//是否提交
	private Boolean isSubmit;

}
